package com.actdata.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2021-01-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class User extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 登录密码
     */
    private String pwd;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String sex;

    /**
     * 用户身份证号
     */
    private String idcard;

    /**
     * 家庭住址
     */
    private String address;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 注册日期
     */
    private LocalDateTime registertime;

    /**
     * 头像
     */
    private String avatarUrl;

    /**
     * 出生日期
     */
    private LocalDate birthday;


}
